package com.fengyunhe.mobile;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

/**
 * 功能：移动端页面模板
 * 作者： yangyan
 * 时间： 2015/6/7 .
 */
@Controller
@RequestMapping("/m")
public class MobileController {
    @RequestMapping("/{page}")
    public ModelAndView page(@PathVariable("page") String page) {
        return new ModelAndView("/m/" + page);
    }
}
